package service;

import java.util.List;

import models.BookType;

public class BookTypeService {
	
	public static List<BookType> getFtall(Long fid){
		if(fid == null)return BookType.find("fid is null").fetch();
		else return BookType.find("fid=?",fid).fetch();
	}
	
	public static BookType ckNull(){
		return null;
	}
}
